/*
 * Line.h
 *
 *  Created on: Jul 3, 2009
 *      Author: kurt
 */

#ifndef LINE_H_
#define LINE_H_

#include "Drawable1DInterface.h"

namespace objdraw 
{

class Line: public objdraw::Drawable1DInterface 
{
	protected:
		virtual ~Line();
	public:
		Line();
		Line(Line const & r);
		Line(float x1, float y1, float x2, float y2, DrawingCanvas * c = NULL);
		Line(Location _start, Location _end, DrawingCanvas * c = NULL);
		
		virtual void render();
		virtual std::string toString();
};

}

#endif /* LINE_H_ */
